Any chemical compound having two carboacyl groups (acyl groups derived from carboxylic acids) bonded to the same oxygen atom.